100
Show a combination of lines and filled curves in the overview

with AxGraph1 do
begin
	BeginUpdate();
	ValueSize := 6;
	VisualAppearance.Add(1,'C:\Program Files\Exontrol\ExGraph\Sample\EBN\googlebtn.ebn');
	set_Background(EXGRAPHLib.BackgroundPartEnum.exOverviewSelResize,$1808080);
	set_Background(EXGRAPHLib.BackgroundPartEnum.exOverviewSel,$1f0f0f0);
	Data := 'C:\Program Files\Exontrol\ExGraph\Sample\Data/msft.csv';
	SeriesColors := 'blue,lightblue,green';
	with ValueAxes do
	begin
		with Add(Nil) do
		begin
			Start := TObject(0.1);
			CursorFormat := '(value format ``) replace `.` with `<font ;6><off -4><fgcolor A0A0A0> `';
		end;
		with Add('2nd') do
		begin
			End := TObject(0.1);
			Visible := False;
			MajorGridLines.Color := TObject(-1);
		end;
	end;
	with CategoryAxis do
	begin
		Categories := 'Date';
		Format := 'value mid 9 left 2';
		with ChartGridLines do
		begin
			Format := '`<fgcolor black>` + ((0:=date(value)) format `mmm`) + (month(=:0) = 1 ? `<br><b>` + (=:0 format `YYYY`) : ``)';
			Align := Integer(EXGRAPHLib.DrawTextFormatEnum.exTextAlignBottom) Or Integer(EXGRAPHLib.DrawTextFormatEnum.exTextAlignRight);
			Color := 'lightgray';
		end;
		MajorTicks.Color := 'black';
		CursorFormat := 'value left 10';
		with OverviewGridLines do
		begin
			Format := 'value left 4';
			Color := 'lightgray';
		end;
	end;
	with Series do
	begin
		with Add(Nil,Nil) do
		begin
			Name := '<fgcolor blue>MSFT</fgcolor>';
			Data := 'Open,High,Low,Close';
			Type := 'candle';
			CursorFormat := '`Open: <b>` + (%v0 format `0`) + `</b><br>High: ` + (%v1 format `0`) + `<br>Low: ` + (%v2 format `0`) + `<br>Close: <b>` + (%v1 ' + 
	'format `0`) + `</b>`';
		end;
		with Add(Nil,Nil) do
		begin
			Name := '<fgcolor lightblue>Volume</fgcolor>';
			Data := 'Volume';
			Axis := '2nd';
			CursorFormat := '(name replace `lightblue` with `white`) + `: ` + (value format `0`)';
		end;
		with Add(Nil,Nil) do
		begin
			Name := '<fgcolor green>Adj Close</fgcolor>';
			Data := 'Adj Close';
			Type := 'line';
			Misc[EXGRAPHLib.SerieMiscEnum.exLineSize] := TObject(2);
			Style := EXGRAPHLib.SerieStyleEnum.exSpline;
			Visible := False;
			CursorFormat := '(name replace `green` with `white`) + `: ` + (value format `0`)';
		end;
	end;
	with Overview do
	begin
		Visible := True;
		Serie := '0,1:darkblue-fill lightblue';
	end;
	with Legend do
	begin
		Visible := True;
		Grid := 'x1';
	end;
	Cursor.Visible := True;
	EndUpdate();
end
99
Display multiple curves of values in the overview

with AxGraph1 do
begin
	BeginUpdate();
	ValueSize := 6;
	Data := 'C:\Program Files\Exontrol\ExGraph\Sample\Data/msft.csv';
	with Series.Add(Nil,Nil) do
	begin
		Name := 'msft';
		Data := 'Open,High,Low,Close';
		Type := 'candle';
	end;
	with Overview do
	begin
		Visible := True;
		Serie := '0:black,0[1]:red,0[2]:blue,0[3]:green';
	end;
	EndUpdate();
end
98
Display the series as a filled curve rather than a line in the overview

with AxGraph1 do
begin
	BeginUpdate();
	ValueSize := 6;
	Data := 'C:\Program Files\Exontrol\ExGraph\Sample\Data/msft.csv';
	with Series.Add(Nil,Nil) do
	begin
		Name := 'msft';
		Data := 'Open,High,Low,Close';
		Type := 'candle';
	end;
	with Overview do
	begin
		Visible := True;
		Serie := '0:red-fill';
	end;
	EndUpdate();
end
97
Redefine the color to show the serie within the overview

with AxGraph1 do
begin
	BeginUpdate();
	ValueSize := 6;
	Data := 'C:\Program Files\Exontrol\ExGraph\Sample\Data/msft.csv';
	with Series.Add(Nil,Nil) do
	begin
		Name := 'msft';
		Data := 'Open,High,Low,Close';
		Type := 'candle';
	end;
	with Overview do
	begin
		Visible := True;
		Serie := '0:red';
	end;
	EndUpdate();
end
96
Defines the color, style and width/size to display the lines of values in the overview

with AxGraph1 do
begin
	BeginUpdate();
	ValueSize := 6;
	Data := 'C:\Program Files\Exontrol\ExGraph\Sample\Data/msft.csv';
	with Series.Add(Nil,Nil) do
	begin
		Name := 'msft';
		Data := 'Open,High,Low,Close';
		Type := 'candle';
	end;
	with Overview do
	begin
		Visible := True;
		with Line do
		begin
			Color := 'red';
			Width := 2;
			Style := 2;
		end;
	end;
	EndUpdate();
end
95
Resizes of the control's overview

with AxGraph1 do
begin
	BeginUpdate();
	ValueSize := 6;
	Data := 'C:\Program Files\Exontrol\ExGraph\Sample\Data/msft.csv';
	with Series.Add(Nil,Nil) do
	begin
		Name := 'msft';
		Data := 'Open,High,Low,Close';
		Type := 'candle';
	end;
	with Overview do
	begin
		Visible := True;
		Size := 32;
	end;
	EndUpdate();
end
94
Anchors the overview-window

with AxGraph1 do
begin
	BeginUpdate();
	ValueSize := 6;
	Data := 'C:\Program Files\Exontrol\ExGraph\Sample\Data/msft.csv';
	with Series.Add(Nil,Nil) do
	begin
		Name := 'msft';
		Data := 'Open,High,Low,Close';
		Type := 'candle';
	end;
	with Overview do
	begin
		Visible := True;
		Dock := EXGRAPHLib.PanelDockEnum.exLeft;
	end;
	EndUpdate();
end
93
Shows the overview

with AxGraph1 do
begin
	BeginUpdate();
	ValueSize := 6;
	Data := 'C:\Program Files\Exontrol\ExGraph\Sample\Data/msft.csv';
	with Series.Add(Nil,Nil) do
	begin
		Name := 'msft';
		Data := 'Open,High,Low,Close';
		Type := 'candle';
	end;
	Overview.Visible := True;
	EndUpdate();
end
92
Locks the legend (no value is hidden or shown when user clicks a symbol)
with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.AsPercent := True;
	Series.Add('Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)',Nil);
	with Legend do
	begin
		Visible := True;
		Locked := True;
	end;
	EndUpdate();
end
91
Aligns the legend's content

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.AsPercent := True;
	Series.Add('Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)',Nil);
	with Legend do
	begin
		Visible := True;
		Grid := '2x';
		Align := EXGRAPHLib.LegendAlignEnum.exStart;
	end;
	EndUpdate();
end
90
Arranges the legend objects on columns and rows

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.AsPercent := True;
	Series.Add('Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)',Nil);
	with Legend do
	begin
		Visible := True;
		Grid := '2x';
	end;
	EndUpdate();
end
89
Arranges the legend objects on columns and rows

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.AsPercent := True;
	Series.Add('Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)',Nil);
	with Legend do
	begin
		Visible := True;
		Flow := EXGRAPHLib.LegendFlowEnum.exTopToBottom;
		Grid := 'x2';
	end;
	EndUpdate();
end
88
Arranges the legend objects from left to right or top to bottom

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.AsPercent := True;
	Series.Add('Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)',Nil);
	with Legend do
	begin
		Visible := True;
		Flow := EXGRAPHLib.LegendFlowEnum.exTopToBottom;
	end;
	EndUpdate();
end
87
Defines the size to display the symbol, within the legend

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.AsPercent := True;
	Series.Add('Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)',Nil);
	with Legend do
	begin
		Visible := True;
		SymbolWidth := TObject(32);
		SymbolHeight := TObject(32);
	end;
	EndUpdate();
end
86
Defines the height to display the symbol, within the legend

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.AsPercent := True;
	Series.Add('Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)',Nil);
	with Legend do
	begin
		Visible := True;
		SymbolHeight := TObject(32);
	end;
	EndUpdate();
end
85
Defines the width to display the symbol, within the legend

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.AsPercent := True;
	Series.Add('Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)',Nil);
	with Legend do
	begin
		Visible := True;
		SymbolWidth := TObject(32);
	end;
	EndUpdate();
end
84
Aligns the symbol of the serie relative to the label of the serie, within the legend

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.AsPercent := True;
	Series.Add('Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)',Nil);
	with Legend do
	begin
		Visible := True;
		SymbolAlign := Integer(EXGRAPHLib.LegendSymbolAlignmentEnum.exSymbolCenter) Or Integer(EXGRAPHLib.LegendSymbolAlignmentEnum.exSymbolTop);
	end;
	EndUpdate();
end
83
Displays the labels using a fixed-size

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.AsPercent := True;
	Series.Add('Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)',Nil);
	with Legend do
	begin
		Visible := True;
		FormatText := EXGRAPHLib.DrawTextFormatEnum.exTextWordBreak;
		LabelFixedWidth := 48;
		LabelFixedHeight := 32;
	end;
	EndUpdate();
end
82
Displays the labels using a fixed-height

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.AsPercent := True;
	Series.Add('Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)',Nil);
	with Legend do
	begin
		Visible := True;
		FormatText := EXGRAPHLib.DrawTextFormatEnum.exTextAlignVCenter;
		LabelFixedHeight := 32;
		Dock := EXGRAPHLib.PanelDockEnum.exLeft;
	end;
	EndUpdate();
end
81
Displays the labels using a fixed-width

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.AsPercent := True;
	Series.Add('Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)',Nil);
	with Legend do
	begin
		Visible := True;
		FormatText := EXGRAPHLib.DrawTextFormatEnum.exTextEndEllipsis;
		LabelFixedWidth := 32;
	end;
	EndUpdate();
end
80
Hides the labels on the legend (method 2)

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.AsPercent := True;
	Series.Add('Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)',Nil).LegendFormat := '``';
	Legend.Visible := True;
	EndUpdate();
end
79
Hides the labels on the legend (method 1)

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.AsPercent := True;
	Series.Add('Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)',Nil);
	with Legend do
	begin
		Visible := True;
		FormatText := EXGRAPHLib.DrawTextFormatEnum.exTextCalcRect;
		LabelFixedWidth := 1;
	end;
	EndUpdate();
end
78
Specifies the flags the labels use to display on the legend (for instance, displays the labels on multiple lines)

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.AsPercent := True;
	Series.Add('Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)',Nil);
	with Legend do
	begin
		Visible := True;
		FormatText := EXGRAPHLib.DrawTextFormatEnum.exTextWordBreak;
		LabelFixedWidth := 48;
	end;
	EndUpdate();
end
77
Reverses the order of the items within the legend

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.AsPercent := True;
	Series.Add('Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)',Nil);
	with Legend do
	begin
		Visible := True;
		Reverse := True;
	end;
	EndUpdate();
end
76
Defines the legend's padding (space between legend's symbol/label and its borders)

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.AsPercent := True;
	Series.Add('Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)',Nil);
	with Legend do
	begin
		Visible := True;
		Pad := '12,0';
	end;
	EndUpdate();
end
75
Specifies the edge of the container the legend-window is anchored to

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.AsPercent := True;
	Series.Add('Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)',Nil);
	with Legend do
	begin
		Visible := True;
		Dock := EXGRAPHLib.PanelDockEnum.exTop;
	end;
	EndUpdate();
end
74
Show the legend

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.AsPercent := True;
	Series.Add('Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)',Nil);
	Legend.Visible := True;
	EndUpdate();
end
73
Defines the tooltip's padding (space between tooltip's caption and its borders), for tooltips when cursor hovers the chart

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	Series.Add('Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)',Nil);
	Series.Add('Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)',Nil);
	with Cursor do
	begin
		Visible := True;
		TooltipPad := '8,8';
	end;
	EndUpdate();
end
72
Defines the foreground and background colors to show the tooltips on values

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	Series.Add('Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)',Nil);
	Series.Add('Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)',Nil);
	with Cursor do
	begin
		Visible := True;
		SerieTooltipBackColor := 'red';
		SerieTooltipForeColor := 'yellow';
	end;
	EndUpdate();
end
71
Defines the foreground and background colors to show the tooltips on axes

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	Series.Add('Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)',Nil);
	Series.Add('Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)',Nil);
	with Cursor do
	begin
		Visible := True;
		AxisTooltipBackColor := 'red';
		AxisTooltipForeColor := 'yellow';
	end;
	EndUpdate();
end
70
Defines the color, width or style of line to display the crosshair over the hover/touch area (showCursorCategoryLine or showCursorValueLine)

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	Series.Add('Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)',Nil);
	Series.Add('Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)',Nil);
	with Cursor do
	begin
		Visible := True;
		with Line do
		begin
			Color := 'red';
			Style := 0;
			Width := 2;
		end;
	end;
	EndUpdate();
end
69
Hides the horizontal x-line, when the crosshair cursor hovers the chart (available for xy-chart types only)

with AxGraph1 do
begin
	BeginUpdate();
	with Series.Add('11 22 33,44 55 66,77 88 99,12 34 56,78 90 23',Nil) do
	begin
		Type := 'bubble';
		Misc[EXGRAPHLib.SerieMiscEnum.exScatterPlotSize] := TObject(64);
	end;
	with Series.Add('21 32 43,54 65 76,87 98 09,45 67 89,90 23 45',Nil) do
	begin
		Type := 'bubble';
		Misc[EXGRAPHLib.SerieMiscEnum.exScatterPlotSize] := TObject(64);
	end;
	with Cursor do
	begin
		Visible := True;
		ShowCursorYLine := False;
	end;
	EndUpdate();
end
68
Hides the vertical y-line, when the crosshair cursor hovers the chart (available for xy-chart types only)

with AxGraph1 do
begin
	BeginUpdate();
	with Series.Add('11 22 33,44 55 66,77 88 99,12 34 56,78 90 23',Nil) do
	begin
		Type := 'bubble';
		Misc[EXGRAPHLib.SerieMiscEnum.exScatterPlotSize] := TObject(64);
	end;
	with Series.Add('21 32 43,54 65 76,87 98 09,45 67 89,90 23 45',Nil) do
	begin
		Type := 'bubble';
		Misc[EXGRAPHLib.SerieMiscEnum.exScatterPlotSize] := TObject(64);
	end;
	with Cursor do
	begin
		Visible := True;
		ShowCursorXLine := False;
	end;
	EndUpdate();
end
67
Hides the horizontal/vertical value/y-line, when the crosshair cursor hovers the chart

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	Series.Add('Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)',Nil);
	with Cursor do
	begin
		Visible := True;
		ShowCursorValueLine := False;
	end;
	EndUpdate();
end
66
Displays all tooltips for all series of the category unit being indicated by the vertical/horizontal category/x-line

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	Series.Add('Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)',Nil);
	Series.Add('Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)',Nil);
	with Cursor do
	begin
		Visible := True;
		ShowCursorSerieTooltip := EXGRAPHLib.ShowCursorSerieTooltipEnum.exCursorSerieShowAll;
	end;
	EndUpdate();
end
65
The pointer indicates the series whose tooltip is displayed, when the crosshair cursor hovers its chart

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	Series.Add('Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)',Nil);
	Series.Add('Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)',Nil);
	with Cursor do
	begin
		Visible := True;
		ShowCursorSerieTooltip := EXGRAPHLib.ShowCursorSerieTooltipEnum.exCursorSerieShowExact;
	end;
	EndUpdate();
end
64
Hides the tooltip when the crosshair cursor hovers the chart

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	Series.Add('Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)',Nil);
	Series.Add('Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)',Nil);
	with Cursor do
	begin
		Visible := True;
		ShowCursorSerieTooltip := EXGRAPHLib.ShowCursorSerieTooltipEnum.exCursorSerieHide;
	end;
	EndUpdate();
end
63
Shows the category/x-line when the cursor is near the value

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	Series.Add('Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)',Nil);
	with Cursor do
	begin
		Visible := True;
		ShowCursorCategoryLine := EXGRAPHLib.ShowCursorCategoryLineEnum.exCursorCategoryShowNear;
	end;
	EndUpdate();
end
62
Hides the cursor's category/x-line

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	Series.Add('Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)',Nil);
	with Cursor do
	begin
		Visible := True;
		ShowCursorCategoryLine := EXGRAPHLib.ShowCursorCategoryLineEnum.exCursorCategoryHide;
	end;
	EndUpdate();
end
61
How can I show the values from the cursor

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	Series.Add('Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)',Nil);
	Cursor.Visible := True;
	EndUpdate();
end
60
Defines the style to display the axis-line
with AxGraph1 do
begin
	BeginUpdate();
	ValueAxis.AxisLine.Style := 2;
	CategoryAxis.AxisLine.Style := 2;
	AutoFit := True;
	Series.Add('Paris(2148271),Marseille(1748148),Lyon(1637677),Toulouse(1360829),Nice(1000548),Nantes(973133),Strasbourg(785839),Montpellier(59' + 
	'0741),Bordeaux(589649),Lille(484786)',Nil);
	EndUpdate();
end
59
Defines the color to show the axis

with AxGraph1 do
begin
	BeginUpdate();
	ValueAxis.AxisLine.Color := 'red';
	CategoryAxis.AxisLine.Color := 'red';
	AutoFit := True;
	Series.Add('Paris(2148271),Marseille(1748148),Lyon(1637677),Toulouse(1360829),Nice(1000548),Nantes(973133),Strasbourg(785839),Montpellier(59' + 
	'0741),Bordeaux(589649),Lille(484786)',Nil);
	EndUpdate();
end
58
Specifies the step to show the ticks for value or category axes

with AxGraph1 do
begin
	BeginUpdate();
	ValueAxis.MajorTicks.Step := 2;
	AutoFit := True;
	Series.Add('Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmun' + 
	'd(586600),Essen(582760),Bremen(565719)',Nil);
	Sort := '0:D';
	EndUpdate();
end
57
Specifies the number of ticks to skip for value or category axes

with AxGraph1 do
begin
	BeginUpdate();
	ValueAxis.MajorTicks.Skip := 3;
	AutoFit := True;
	Series.Add('Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmun' + 
	'd(586600),Essen(582760),Bremen(565719)',Nil);
	Sort := '0:D';
	EndUpdate();
end
56
Defines the style to show the major-ticks of value or category axes
with AxGraph1 do
begin
	BeginUpdate();
	with ValueAxis.MajorTicks do
	begin
		Style := 1;
		Width := 3;
	end;
	AutoFit := True;
	Series.Add('Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmun' + 
	'd(586600),Essen(582760),Bremen(565719)',Nil);
	Sort := '0:D';
	EndUpdate();
end
55
Defines the color to show the major-ticks of value or category axes

with AxGraph1 do
begin
	BeginUpdate();
	with ValueAxis.MajorTicks do
	begin
		Color := 'red';
		Width := 3;
	end;
	AutoFit := True;
	Series.Add('Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmun' + 
	'd(586600),Essen(582760),Bremen(565719)',Nil);
	Sort := '0:D';
	EndUpdate();
end
54
Specifies the size to show the major-ticks of value or category axes
with AxGraph1 do
begin
	BeginUpdate();
	ValueAxis.MajorTicks.Width := 3;
	AutoFit := True;
	Series.Add('Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmun' + 
	'd(586600),Essen(582760),Bremen(565719)',Nil);
	Sort := '0:D';
	EndUpdate();
end
53
Defines the step to show the major-grid lines, for value or category axes

with AxGraph1 do
begin
	BeginUpdate();
	ValueAxis.MajorGridLines.Step := 2;
	AutoFit := True;
	Series.Add('Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(26' + 
	'9506),Ploiesti(209945),Oradea(222239)',Nil);
	Sort := '0:D';
	EndUpdate();
end
52
Specifies the number of major grid-line's to skip, for value or category axes

with AxGraph1 do
begin
	BeginUpdate();
	ValueAxis.MajorGridLines.Skip := 3;
	AutoFit := True;
	Series.Add('Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(26' + 
	'9506),Ploiesti(209945),Oradea(222239)',Nil);
	Sort := '0:D';
	EndUpdate();
end
51
Specifies the style of the major grid-line (dash, dot, ...), for value or category axes

with AxGraph1 do
begin
	BeginUpdate();
	ValueAxis.MajorGridLines.Style := 2;
	AutoFit := True;
	Series.Add('Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(26' + 
	'9506),Ploiesti(209945),Oradea(222239)',Nil);
	Sort := '0:D';
	EndUpdate();
end
50
Specifies the major grid-line's color, for value or category axes

with AxGraph1 do
begin
	BeginUpdate();
	ValueAxis.MajorGridLines.Color := 'red';
	AutoFit := True;
	Series.Add('Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(26' + 
	'9506),Ploiesti(209945),Oradea(222239)',Nil);
	Sort := '0:D';
	EndUpdate();
end
49
Specifies the major grid-line's width or size, for value or category axes

with AxGraph1 do
begin
	BeginUpdate();
	ValueAxis.MajorGridLines.Width := 2;
	AutoFit := True;
	Series.Add('Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(26' + 
	'9506),Ploiesti(209945),Oradea(222239)',Nil);
	Sort := '0:D';
	EndUpdate();
end
48
Hide the labels of the grid lines (chart, overview)

with AxGraph1 do
begin
	BeginUpdate();
	ValueSize := 64;
	with CategoryAxis do
	begin
		Categories := 'Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer';
		with ChartGridLines do
		begin
			Color := 'black';
			Format := 'value';
			Align := EXGRAPHLib.DrawTextFormatEnum.exTextCalcRect;
		end;
	end;
	Series.Add('291247,32269,30917,8588,8208,10529,7757,5968,6481,7393',Nil);
	EndUpdate();
end
47
Aligns the labels of the grid lines (chart, overview)

with AxGraph1 do
begin
	BeginUpdate();
	ValueSize := 64;
	with CategoryAxis do
	begin
		Categories := 'Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer';
		with ChartGridLines do
		begin
			Color := 'black';
			Format := '`<fgcolor gray>` + value';
			Align := Integer(EXGRAPHLib.DrawTextFormatEnum.exTextNoClip) Or Integer(EXGRAPHLib.DrawTextFormatEnum.exTextAlignRight);
		end;
	end;
	Series.Add('291247,32269,30917,8588,8208,10529,7757,5968,6481,7393',Nil);
	EndUpdate();
end
46
Defines where the grid lines appear on chart or overview

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	with CategoryAxis do
	begin
		Categories := 'Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer';
		with ChartGridLines do
		begin
			Color := 'black';
			Format := 'value = `Sitka`';
			Align := EXGRAPHLib.DrawTextFormatEnum.exTextCalcRect;
		end;
	end;
	Series.Add('291247,32269,30917,8588,8208,10529,7757,5968,6481,7393',Nil);
	EndUpdate();
end
45
Defines the labels between grid lines (chart, overview)

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	with CategoryAxis do
	begin
		Format := '``';
		Categories := 'Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer';
		with ChartGridLines do
		begin
			Color := 'black';
			Format := '`<c>` + value + `<br><c>` + index';
		end;
	end;
	Series.Add('291247,32269,30917,8588,8208,10529,7757,5968,6481,7393',Nil);
	EndUpdate();
end
44
Defines the step to show the grid lines (chart, overview)

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	with CategoryAxis do
	begin
		Categories := 'Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer';
		with ChartGridLines do
		begin
			Color := 'black';
			Format := 'index';
			Step := 2;
		end;
	end;
	Series.Add('291247,32269,30917,8588,8208,10529,7757,5968,6481,7393',Nil);
	EndUpdate();
end
43
Specifies the number of grid lines to skip (chart, overview)

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	with CategoryAxis do
	begin
		Categories := 'Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer';
		with ChartGridLines do
		begin
			Color := 'black';
			Format := 'index';
			Skip := 3;
		end;
	end;
	Series.Add('291247,32269,30917,8588,8208,10529,7757,5968,6481,7393',Nil);
	EndUpdate();
end
42
Defines the grid-line dash-dot-dot-style (chart, overview)

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	with CategoryAxis do
	begin
		Categories := 'Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer';
		with ChartGridLines do
		begin
			Color := 'black';
			Style := 4;
			Format := 'index';
		end;
	end;
	Series.Add('291247,32269,30917,8588,8208,10529,7757,5968,6481,7393',Nil);
	EndUpdate();
end
41
Defines the grid-line dash-dot-style (chart, overview)

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	with CategoryAxis do
	begin
		Categories := 'Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer';
		with ChartGridLines do
		begin
			Color := 'black';
			Style := 3;
			Format := 'index';
		end;
	end;
	Series.Add('291247,32269,30917,8588,8208,10529,7757,5968,6481,7393',Nil);
	EndUpdate();
end
40
Defines the grid-line dot-style (chart, overview)

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	with CategoryAxis do
	begin
		Categories := 'Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer';
		with ChartGridLines do
		begin
			Color := 'black';
			Style := 2;
			Format := 'index';
		end;
	end;
	Series.Add('291247,32269,30917,8588,8208,10529,7757,5968,6481,7393',Nil);
	EndUpdate();
end
39
Defines the grid-line dash-style (chart, overview)

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	with CategoryAxis do
	begin
		Categories := 'Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer';
		with ChartGridLines do
		begin
			Color := 'black';
			Style := 1;
			Format := 'index';
		end;
	end;
	Series.Add('291247,32269,30917,8588,8208,10529,7757,5968,6481,7393',Nil);
	EndUpdate();
end
38
Specifies the grid-line's color (chart, overview)

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	with CategoryAxis do
	begin
		Categories := 'Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer';
		with ChartGridLines do
		begin
			Color := 'red';
			Format := 'index';
		end;
	end;
	Series.Add('291247,32269,30917,8588,8208,10529,7757,5968,6481,7393',Nil);
	EndUpdate();
end
37
Specifies the grid-line's width or size (chart, overview)

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	with CategoryAxis do
	begin
		Categories := 'Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer';
		with ChartGridLines do
		begin
			Color := 'black';
			Format := 'index';
			Width := 2;
		end;
	end;
	Series.Add('291247,32269,30917,8588,8208,10529,7757,5968,6481,7393',Nil);
	EndUpdate();
end
36
Occurs when the user dblclk the left mouse button over an object
// DblClick event - Occurs when the user dblclk the left mouse button over an object.
procedure TWinForm1.AxGraph1_DblClick(sender: System.Object; e: AxEXGRAPHLib._IGraphEvents_DblClickEvent);
begin
	with AxGraph1 do
	begin
		OutputDebugString( 'DblClick event' );
	end
end;

with AxGraph1 do
begin
	ValueSize := 18;
	with Series.Add('Hulunbuir{China}(263068),Abu Dhabi{United Arab Emirates}(97200),Jiuquan{China}(167996),Altamira{Brazil}(159891),Brasília{Brazil}' + 
	'(5784),Mumbai{India}(603.4),Delhi{India}(1484),Chongqing{China}(82400),Hulunbuir{China}(263068),Sao Paulo{Brazil}(1522),Linfen{C' + 
	'hina}(20527),Santiago{Chile}(641),Mexico City{Mexico}(1485),Belo Horizonte{Brazil}(313),Hangzhou{China}(16817),Nairobi{Kenya}(69' + 
	'6),Berlin{Germany}(891.68),Montreal{Canada}(431.5),Cordoba{Argentina}(576),Manaus{Brazil}(11401),Astana{Kazakhstan}(810),Goiânia' + 
	'{Brazil}(741),Cali{Colombia}(564),Sao Paulo{Brazil}(1522),Goiania{Brazil}(781)',Nil) do
	begin
		Type := 'Col';
		Vertical := True;
	end;
	Sort := '0:D';
end
35
Occurs when the user presses and then releases the left mouse button over the control
// Click event - Occurs when the user presses and then releases the left mouse button over the control.
procedure TWinForm1.AxGraph1_ClickEvent(sender: System.Object; e: System.EventArgs);
begin
	with AxGraph1 do
	begin
		OutputDebugString( 'Click event' );
	end
end;

with AxGraph1 do
begin
	ValueSize := 18;
	with Series.Add('Hulunbuir{China}(263068),Abu Dhabi{United Arab Emirates}(97200),Jiuquan{China}(167996),Altamira{Brazil}(159891),Brasília{Brazil}' + 
	'(5784),Mumbai{India}(603.4),Delhi{India}(1484),Chongqing{China}(82400),Hulunbuir{China}(263068),Sao Paulo{Brazil}(1522),Linfen{C' + 
	'hina}(20527),Santiago{Chile}(641),Mexico City{Mexico}(1485),Belo Horizonte{Brazil}(313),Hangzhou{China}(16817),Nairobi{Kenya}(69' + 
	'6),Berlin{Germany}(891.68),Montreal{Canada}(431.5),Cordoba{Argentina}(576),Manaus{Brazil}(11401),Astana{Kazakhstan}(810),Goiânia' + 
	'{Brazil}(741),Cali{Colombia}(564),Sao Paulo{Brazil}(1522),Goiania{Brazil}(781)',Nil) do
	begin
		Type := 'Col';
		Vertical := True;
	end;
end
34
Determine the code of the key the user presses
// KeyPress event - Occurs when the user presses and releases an ANSI key.
procedure TWinForm1.AxGraph1_KeyPressEvent(sender: System.Object; e: AxEXGRAPHLib._IGraphEvents_KeyPressEvent);
begin
	// print"KeyAscii",KeyAscii)
end;

with AxGraph1 do
begin
	ValueSize := 48;
	set_Misc(EXGRAPHLib.MiscEnum.exUpdateRangeOnScroll,TObject(0));
	with Series.Add('China(1403500365),India(1368737513),UnitedStates(330810184),Indonesia(272881945),Pakistan(220892331),Brazil(212559417),Nigeria(2' + 
	'06139587),Bangladesh(169575884),Russia(145912025),Mexico(128932753),Japan(126476458),Ethiopia(114963588),Philippines(112392078),' + 
	'Egypt(110530608),Vietnam(97429061),DR.Congo(89561404),Turkey(84339067),Iran(83720412),Germany(83132799),Thailand(69799978),Unite' + 
	'dKingdom(68207116),France(65311982),Italy(59554028),Tanzania(59091392),SouthAfrica(58775022)',Nil) do
	begin
		Type := 'Pie';
		ShowValue := Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint);
		ValueFormat := 'category';
	end;
end
33
Determine the code of the key the user just released
// KeyUp event - Occurs when the user releases a key while an object has the focus.
procedure TWinForm1.AxGraph1_KeyUpEvent(sender: System.Object; e: AxEXGRAPHLib._IGraphEvents_KeyUpEvent);
begin
	// print"KeyCode",KeyCode)
end;

with AxGraph1 do
begin
	ValueSize := 48;
	set_Misc(EXGRAPHLib.MiscEnum.exUpdateRangeOnScroll,TObject(0));
	Series.Add('Russia(17098242),Canada(9984670),China(9596961),UnitedStates(9525067),Brazil(8515767),Australia(7692024),India(3287263),Argentin' + 
	'a(2780400),Kazakhstan(2724900),Algeria(2381741),CongoDemocraticRepublicofthe(2344858),Greenland(2166086),SaudiArabia(2149690),Me' + 
	'xico(1964375),Indonesia(1904569),Sudan(1861484),Libya(1759540),Iran(1648195),Mongolia(1564116),Peru(1285216),Niger(1267000),Chad' + 
	'(1284000),Angola(1246700),Mali(1240192),SouthAfrica(1221037)',Nil);
end
32
Determine the code of the key the user presses
// KeyDown event - Occurs when the user presses a key while an object has the focus.
procedure TWinForm1.AxGraph1_KeyDownEvent(sender: System.Object; e: AxEXGRAPHLib._IGraphEvents_KeyDownEvent);
begin
	// print"KeyCode",KeyCode)
end;

with AxGraph1 do
begin
	ValueSize := 48;
	set_Misc(EXGRAPHLib.MiscEnum.exUpdateRangeOnScroll,TObject(0));
	Series.Add('Russia(17098242),Canada(9984670),China(9596961),UnitedStates(9525067),Brazil(8515767),Australia(7692024),India(3287263),Argentin' + 
	'a(2780400),Kazakhstan(2724900),Algeria(2381741),CongoDemocraticRepublicofthe(2344858),Greenland(2166086),SaudiArabia(2149690),Me' + 
	'xico(1964375),Indonesia(1904569),Sudan(1861484),Libya(1759540),Iran(1648195),Mongolia(1564116),Peru(1285216),Niger(1267000),Chad' + 
	'(1284000),Angola(1246700),Mali(1240192),SouthAfrica(1221037)',Nil);
end
31
How can reverse the chart

with AxGraph1 do
begin
	AutoFit := True;
	ValueAxis.Reverse := True;
	with Series.Add('Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(80' + 
	'202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(14' + 
	'6890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)',Nil) do
	begin
		Vertical := True;
	end;
	SeriesColors := 'dodgerblue';
end
30
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area

with AxGraph1 do
begin
	BeginUpdate();
	ScrollBars := EXGRAPHLib.ScrollBarsEnum.exDisableBoth;
	set_ScrollPartVisible(EXGRAPHLib.ScrollBarEnum.exVScroll,EXGRAPHLib.ScrollPartEnum.exExtentThumbPart,True);
	set_ScrollPartVisible(EXGRAPHLib.ScrollBarEnum.exHScroll,EXGRAPHLib.ScrollPartEnum.exExtentThumbPart,True);
	set_ScrollPartVisible(EXGRAPHLib.ScrollBarEnum($2),EXGRAPHLib.ScrollPartEnum.exExtentThumbPart,True);
	ScrollWidth := 4;
	set_Background(EXGRAPHLib.BackgroundPartEnum($114),$f0f0f0);
	set_Background(EXGRAPHLib.BackgroundPartEnum($104),$808080);
	ScrollHeight := 4;
	set_Background(EXGRAPHLib.BackgroundPartEnum($194),get_Background(EXGRAPHLib.BackgroundPartEnum($114)));
	set_Background(EXGRAPHLib.BackgroundPartEnum($184),get_Background(EXGRAPHLib.BackgroundPartEnum($104)));
	set_Background(EXGRAPHLib.BackgroundPartEnum($12c Or Integer(EXGRAPHLib.BackgroundPartEnum.exSerieCursorTooltipTransparent)),get_Background(EXGRAPHLib.BackgroundPartEnum($114)));
	BeginUpdate();
	ValueSize := 6;
	Data := 'C:\Program Files\Exontrol\ExGraph\Sample\Data/aapl.txt';
	with Series.Add(Nil,Nil) do
	begin
		Name := 'aapl';
		Data := 'AAPL (open),AAPL (high),AAPL (low),AAPL (close)';
		Type := 'candle';
	end;
	EndUpdate();
	EndUpdate();
end
29
Define a bubble chart-type

with AxGraph1 do
begin
	with Series.Add(Nil,Nil) do
	begin
		Data := '1 99 1,2 96 2,3 92 3,4 86 4,5 79 5,6 70 6,7 60 7,8 50 8,9 38 9,10 25 10,11 13 11';
		Type := 'bubble';
		Misc[EXGRAPHLib.SerieMiscEnum.exScatterPlotSize] := TObject(96);
	end;
end
28
Is it possible to show the values with the same color (method 2)

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	set_Misc(EXGRAPHLib.MiscEnum.exValueAxisFitLabel,TObject(True));
	set_Misc(EXGRAPHLib.MiscEnum.exValueLineAddAngle,TObject(0));
	ValuePoint := ',,,,,,,,,0,0';
	with ValueAxis do
	begin
		Format := 'value ? (value / 1000000)  + `<br><c>mil`: ``';
		Tfi := '<fgcolor gray> bold';
	end;
	with Series.Add('China(1439323776),India(1380004385),US(331002651),Indonesia(273523615),Pakistan(220892340),Brazil(212559417),Nigeria(206139589),' + 
	'Bangladesh(164689383),Russia(145934462),Mexico(128932753)',Nil) do
	begin
		Type := 'column';
		ShowValue := Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint);
		ValueFormat := '((value format ``) replace `.00` with ``)';
		Color := 'blue';
	end;
	Sort := '0:D';
	EndUpdate();
end
27
Is it possible to show the values with the same color (method 1)

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	set_Misc(EXGRAPHLib.MiscEnum.exValueAxisFitLabel,TObject(True));
	set_Misc(EXGRAPHLib.MiscEnum.exValueLineAddAngle,TObject(0));
	ValuePoint := ',,,,,,,,,0,0';
	with ValueAxis do
	begin
		Format := 'value ? (value / 1000000)  + `<br><c>mil`: ``';
		Tfi := '<fgcolor gray> bold';
	end;
	with Series.Add('China(1439323776),India(1380004385),US(331002651),Indonesia(273523615),Pakistan(220892340),Brazil(212559417),Nigeria(206139589),' + 
	'Bangladesh(164689383),Russia(145934462),Mexico(128932753)',Nil) do
	begin
		Type := 'column';
		ShowValue := Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint);
		ValueFormat := '((value format ``) replace `.00` with ``)';
	end;
	Series.Add('0',Nil).Visible := False;
	Sort := '0:D';
	EndUpdate();
end
26
Pie chart

with AxGraph1 do
begin
	BeginUpdate();
	with Series.Add('Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000' + 
	'), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)',Nil) do
	begin
		Type := 'pie';
		ShowValue := EXGRAPHLib.ShowValueEnum($ffffff78 Or Integer(EXGRAPHLib.ShowValueEnum.exHideIfEmpty) Or Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint));
		ValueFormat := 'category + `<br>` + ((percent) format ``) + `%`';
		LegendFormat := 'label + `(` + ((percent) format ``) + `%)`';
	end;
	ValuePoint := ',,,,,,,,transparent';
	with Legend do
	begin
		Visible := True;
	end;
	EndUpdate();
end
25
Define the pad for value-label

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.Format := 'value/100000';
	with Series.Add('Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000' + 
	'), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)',Nil) do
	begin
		ShowValue := EXGRAPHLib.ShowValueEnum($ffffff78 Or Integer(EXGRAPHLib.ShowValueEnum.exHideIfEmpty) Or Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint));
	end;
	ValuePoint := ',,,,,,,,,,8';
	EndUpdate();
end
24
Hide the frame around the value-label

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.Format := 'value/100000';
	with Series.Add('Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000' + 
	'), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)',Nil) do
	begin
		ShowValue := EXGRAPHLib.ShowValueEnum($ffffff78 Or Integer(EXGRAPHLib.ShowValueEnum.exHideIfEmpty) Or Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint));
	end;
	ValuePoint := ',,,,,,,,,0';
	EndUpdate();
end
23
Remove the frame around the value-label

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.Format := 'value/100000';
	with Series.Add('Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000' + 
	'), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)',Nil) do
	begin
		ShowValue := EXGRAPHLib.ShowValueEnum($ffffff78 Or Integer(EXGRAPHLib.ShowValueEnum.exHideIfEmpty) Or Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint));
	end;
	ValuePoint := ',,,,,,,,transparent';
	EndUpdate();
end
22
Apply the color of the data-value to the value-label

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.Format := 'value/100000';
	with Series.Add('Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000' + 
	'), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)',Nil) do
	begin
		ShowValue := EXGRAPHLib.ShowValueEnum($ffffff78 Or Integer(EXGRAPHLib.ShowValueEnum.exHideIfEmpty) Or Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint));
		ValueFormat := '`<fgcolor white>` + value';
	end;
	ValuePoint := ',,,,,,,null';
	EndUpdate();
end
21
Apply an opaque color to the value-label

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.Format := 'value/100000';
	with Series.Add('Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000' + 
	'), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)',Nil) do
	begin
		ShowValue := EXGRAPHLib.ShowValueEnum($ffffff78 Or Integer(EXGRAPHLib.ShowValueEnum.exHideIfEmpty) Or Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint));
	end;
	ValuePoint := ',,,,,,,red';
	EndUpdate();
end
20
Remove the line that connects the value point to value-label (method 2)

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.Format := 'value/100000';
	with Series.Add('Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000' + 
	'), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)',Nil) do
	begin
		ShowValue := EXGRAPHLib.ShowValueEnum($ffffff78 Or Integer(EXGRAPHLib.ShowValueEnum.exHideIfEmpty) Or Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint));
	end;
	ValuePoint := ',,,,,,0';
	EndUpdate();
end
19
Define a shorter line (connects the value point to value-label)

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.Format := 'value/100000';
	with Series.Add('Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000' + 
	'), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)',Nil) do
	begin
		ShowValue := EXGRAPHLib.ShowValueEnum($ffffff78 Or Integer(EXGRAPHLib.ShowValueEnum.exHideIfEmpty) Or Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint));
	end;
	ValuePoint := ',,,,,,8';
	EndUpdate();
end
18
Define the size of the line that connects the value point to value-label

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.Format := 'value/100000';
	with Series.Add('Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000' + 
	'), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)',Nil) do
	begin
		ShowValue := EXGRAPHLib.ShowValueEnum($ffffff78 Or Integer(EXGRAPHLib.ShowValueEnum.exHideIfEmpty) Or Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint));
	end;
	ValuePoint := ',,,,,1';
	EndUpdate();
end
17
Hide the line that connects the value point to value-label

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.Format := 'value/100000';
	with Series.Add('Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000' + 
	'), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)',Nil) do
	begin
		ShowValue := EXGRAPHLib.ShowValueEnum($ffffff78 Or Integer(EXGRAPHLib.ShowValueEnum.exHideIfEmpty) Or Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint));
	end;
	ValuePoint := ',,,,,0';
	EndUpdate();
end
16
Remove the line that connects the value point to value-label (method 1)

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.Format := 'value/100000';
	with Series.Add('Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000' + 
	'), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)',Nil) do
	begin
		ShowValue := EXGRAPHLib.ShowValueEnum($ffffff78 Or Integer(EXGRAPHLib.ShowValueEnum.exHideIfEmpty) Or Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint));
	end;
	ValuePoint := ',,,,transparent';
	EndUpdate();
end
15
Change the color to show the line that connects the value point to value-label

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.Format := 'value/100000';
	with Series.Add('Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000' + 
	'), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)',Nil) do
	begin
		ShowValue := EXGRAPHLib.ShowValueEnum($ffffff78 Or Integer(EXGRAPHLib.ShowValueEnum.exHideIfEmpty) Or Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint));
	end;
	ValuePoint := ',,,,red';
	EndUpdate();
end
14
Change the frame's size around the value-point

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.Format := 'value/100000';
	with Series.Add('Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000' + 
	'), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)',Nil) do
	begin
		ShowValue := EXGRAPHLib.ShowValueEnum($ffffff78 Or Integer(EXGRAPHLib.ShowValueEnum.exHideIfEmpty) Or Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint));
	end;
	ValuePoint := ',,,4';
	EndUpdate();
end
13
Change the frame's size around the value-point

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.Format := 'value/100000';
	with Series.Add('Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000' + 
	'), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)',Nil) do
	begin
		ShowValue := EXGRAPHLib.ShowValueEnum($ffffff78 Or Integer(EXGRAPHLib.ShowValueEnum.exHideIfEmpty) Or Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint));
	end;
	ValuePoint := ',,,0';
	EndUpdate();
end
12
Hide the value-points, but still the value-label (method 2)

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.Format := 'value/100000';
	with Series.Add('Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000' + 
	'), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)',Nil) do
	begin
		ShowValue := EXGRAPHLib.ShowValueEnum($ffffff78 Or Integer(EXGRAPHLib.ShowValueEnum.exHideIfEmpty) Or Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint));
	end;
	ValuePoint := ',transparent,transparent';
	EndUpdate();
end
11
Hide the value-points, but still the value-label (method 1)

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.Format := 'value/100000';
	with Series.Add('Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000' + 
	'), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)',Nil) do
	begin
		ShowValue := EXGRAPHLib.ShowValueEnum($ffffff78 Or Integer(EXGRAPHLib.ShowValueEnum.exHideIfEmpty) Or Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint));
	end;
	ValuePoint := '0';
	EndUpdate();
end
10
Change the color to show the border of the value-point

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.Format := 'value/100000';
	with Series.Add('Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000' + 
	'), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)',Nil) do
	begin
		ShowValue := EXGRAPHLib.ShowValueEnum($ffffff78 Or Integer(EXGRAPHLib.ShowValueEnum.exHideIfEmpty) Or Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint));
	end;
	ValuePoint := ',,black';
	EndUpdate();
end
9
Makes the value point to show in the data-color

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.Format := 'value/100000';
	with Series.Add('Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000' + 
	'), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)',Nil) do
	begin
		ShowValue := EXGRAPHLib.ShowValueEnum($ffffff78 Or Integer(EXGRAPHLib.ShowValueEnum.exHideIfEmpty) Or Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint));
	end;
	ValuePoint := ',null';
	EndUpdate();
end
8
Defines bigger value-points

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	ValueAxis.Format := 'value/100000';
	with Series.Add('Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(20000000' + 
	'), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)',Nil) do
	begin
		ShowValue := EXGRAPHLib.ShowValueEnum($ffffff78 Or Integer(EXGRAPHLib.ShowValueEnum.exHideIfEmpty) Or Integer(EXGRAPHLib.ShowValueEnum.exValue) Or Integer(EXGRAPHLib.ShowValueEnum.exLine) Or Integer(EXGRAPHLib.ShowValueEnum.exPoint));
	end;
	ValuePoint := '16';
	EndUpdate();
end
7
How can I change the color to show the axes (method 3)

with AxGraph1 do
begin
	with ValueAxis do
	begin
		Format := '`<fgcolor red>` + value';
	end;
	Series.Add('Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(80' + 
	'202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(14' + 
	'6890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)',Nil);
end
6
How can I change the color to show the axes (method 2)

with AxGraph1 do
begin
	with ValueAxis do
	begin
		Tfi := '<fgcolor red>';
	end;
	Series.Add('Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(80' + 
	'202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(14' + 
	'6890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)',Nil);
end
5
How can I change the color to show the axes (method 1)

with AxGraph1 do
begin
	ForeColor := Color.FromArgb(255,0,0);
	Series.Add('Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(80' + 
	'202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(14' + 
	'6890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)',Nil);
end
4
Does the control's print supports "fit to page"

with AxGraph1 do
begin
	BeginUpdate();
	AutoFit := True;
	with Series do
	begin
		Add('Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)',Nil);
		Add('Facebook(176),Google(81),Twitter(47),LinkedIn(159),Instagram(62),Pinterest(193),Snapchat(118),WhatsApp(25)',Nil);
	end;
	EndUpdate();
	with (ComObj.CreateComObject(ComObj.ProgIDToClassID('Exontrol.Print')) as EXPRINTLib.Print) do
	begin
		PrintExt := (AxGraph1.GetOcx() as EXGRAPHLib.Graph).DefaultDispatch;
		Preview();
	end;
end
3
How can I print the control

with AxGraph1 do
begin
	BeginUpdate();
	ValueSize := 36;
	Series.Add('Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)',Nil);
	EndUpdate();
	with (ComObj.CreateComObject(ComObj.ProgIDToClassID('Exontrol.Print')) as EXPRINTLib.Print) do
	begin
		PrintExt := (AxGraph1.GetOcx() as EXGRAPHLib.Graph).DefaultDispatch;
		Preview();
	end;
end
2
How do I change the control's foreground color

with AxGraph1 do
begin
	BeginUpdate();
	ForeColor := Color.FromArgb(255,0,0);
	Series.Add('-1,2,-3,4',Nil);
	AutoFit := True;
	EndUpdate();
end
1
How do I change the control's background color

with AxGraph1 do
begin
	BeginUpdate();
	BackColor := Color.FromArgb(240,240,240);
	Series.Add('1,2,3,4',Nil);
	AutoFit := True;
	EndUpdate();
end